Skip to content

gulp:ts: fix ts copy of constant file and inject test client .ts files automatically. #1836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 28, 2016

Conversation

Koslun
Copy link
Member

@Koslun Koslun commented Apr 28, 2016

Closes two issues: #1830 and #1828.

The fix for issue #1830 is pretty straight-forward and think the extra task and refactoring of the old task to an external function for issue #1828 are relatively small as well.

I am however a bit concerned that the refactoring might not necessarily comply with the preferred coding style for the repository. Should the function rather be a separate task? Or be moved into helper functions above?

Either way, I figure that the injectTsConfig function could be used for a future tsconfig.server.json and tsconfig.server.test.json. So think it's at least better than copy + paste.

Koslun added 2 commits April 26, 2016 16:23
Set task constant as dependency to copy:constant and remove constant as dependency to transpile:client. As it then becomes redundant.

Closes angular-fullstack#1830
… file.

Refactor .ts injection of client .ts files into ts config file into function. Use new function to also inject client .ts test files given glob and config file.

Closes angular-fullstack#1828
@Awk34
Copy link
Member

Awk34 commented Apr 28, 2016

Yeah, injectTsConfig function should probably be up with the rest of the helper functions, but not so big of a deal that I won't merge. Thanks!!

@Awk34 Awk34 merged commit 0079b68 into angular-fullstack:master Apr 28, 2016
@Koslun Koslun mentioned this pull request May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants